package com.xuecheng.learning.api;

import com.xuecheng.commons.model.dto.RecordDto;
import com.xuecheng.commons.model.vo.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author Sober_wxy
 * @date 2022/7/28 16:05
 */
@FeignClient("xc-learning-service")
public interface LearningClient {
        @PostMapping("/courseRecord/saveRecord")
        public ResponseResult saveRecord(@RequestBody RecordDto recordDto);
}
